{% extends "base.html" %}

{% block content %}
    <h1><a href="{% url qbuilder_home query.pk %}">{{ query.name }}</a></h1>
    <form action="{% url qbuilder_edit query.pk %}" method="post">
        <table>
            {{ form }}
            <tr><td colspan="2">
                <input type="submit" value="OK"/>
            </td></tr>
        </table>
    </form>
{% endblock %}
